package cn.jit.ssm.mapper;

import cn.jit.ssm.beans.entity.JitRoleModule;
import cn.jit.ssm.beans.entity.JitRoleModuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JitRoleModuleMapper {
    int countByExample(JitRoleModuleExample example);

    int deleteByExample(JitRoleModuleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(JitRoleModule record);

    int insertSelective(JitRoleModule record);

    List<JitRoleModule> selectByExample(JitRoleModuleExample example);

    List<JitRoleModule> selectByUserName(@Param("moduleCodes") String[] moduleCode, @Param("acctName") String acctName);

    JitRoleModule selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") JitRoleModule record, @Param("example") JitRoleModuleExample example);

    int updateByExample(@Param("record") JitRoleModule record, @Param("example") JitRoleModuleExample example);

    int updateByPrimaryKeySelective(JitRoleModule record);

    int updateByPrimaryKey(JitRoleModule record);
}